const cloud = require('wx-server-sdk')
cloud.init({
  env: "cloud1-0g37ybf285b2af98",
  traceUser: true
  // secretId: "wxda16538bb5ad5719",
  // secretKey : "0f5a5aa60ba664846ac1f59b8e0cf007"
})
var bar;
async function gotDatas() {
  try {
    const res = await cloud.callFunction({
      name: "quickstartFunctions",
      data: {
        type: "getDicts"
      }
    });
    bar = res.result[0];
	console.log(bar);
  } catch (e) {
    console.log(e)
  }
}
gotDatas()